﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data ;
using System.Runtime.Serialization;

namespace Boiling.Common
{
    public class b_UserInfodata:DataSet 
    {
        public const string b_UserInfo_Table = "b_UserInfo";
        public const string User_ID_Field = "User_ID";
        public const string User_Name_Field = "User_Name";
        public const string User_Logdate_Field = "User_Logdate";
        public const string User_School_Field = "User_School";
        public const string User_Age_Field = "User_Age";
        public const string User_Studynum_Field = "User_Studynum";
        public const string User_Sex_Field = "User_Sex";

         public b_UserInfodata(SerializationInfo info, StreamingContext context): base(info, context)
        {
        }
         public b_UserInfodata()
         {
             Buildb_UserInfodataTables();
         }
         private void Buildb_UserInfodataTables()
         {
             DataTable table = new DataTable(b_UserInfo_Table);
             DataColumnCollection columns = table.Columns;
             columns.Add(User_ID_Field, typeof(System.String));
             columns.Add(User_Name_Field, typeof(System.String));
             columns.Add(User_Logdate_Field, typeof(System.DateTime));
             columns.Add(User_School_Field, typeof(System.String ));
             columns.Add(User_Age_Field, typeof(System.Int32 ));
             columns .Add (User_Studynum_Field ,typeof(System.Int32 ));
             columns.Add(User_Sex_Field, typeof(System.Boolean));
             this.Tables.Add(table);
         }

        
    }
}
